package com.ailesson.order.model.req;


import java.math.BigDecimal;
import java.io.Serializable;
import lombok.Data;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 订单明细 订单明细
 * 
 * @author mac
 * @email mac@gmail.com
 * @date 2024-10-12 21:32:50
 */
@Schema(name = "请求对象")
@Data
public class OrderDetReq implements Serializable{
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	@Schema(name = "id", description = "编号", type = "Long")
    private Long id;
	/**
	 * 课程id
	 */
	@Schema(name = "courseId", description = "课程id", type = "Long")
    private Long courseId;
	/**
	 * 课程名称
	 */
	@Schema(name = "courseName", description = "课程名称", type = "String")
    private String courseName;
	/**
	 * 课程封面
	 */
	@Schema(name = "cover", description = "课程封面", type = "String")
    private String cover;
	/**
	 * 订单编号
	 */
	@Schema(name = "orderId", description = "订单编号", type = "Long")
    private Long orderId;
	/**
	 * 用户id
	 */
	@Schema(name = "userId", description = "用户id", type = "Long")
    private Long userId;
	/**
	 * 原始金额
	 */
	@Schema(name = "originAmount", description = "原始金额", type = "BigDecimal")
    private BigDecimal originAmount;
	/**
	 * 优惠劵减免金额
	 */
	@Schema(name = "couponReduce", description = "优惠劵减免金额", type = "BigDecimal")
    private BigDecimal couponReduce;
	/**
	 * 最终金额
	 */
	@Schema(name = "finalAmount", description = "最终金额", type = "BigDecimal")
    private BigDecimal finalAmount;
	/**
	 * 会话id 当前会话id 继承购物车中会话id
	 */
	@Schema(name = "sessionId", description = "会话id 当前会话id 继承购物车中会话id", type = "String")
    private String sessionId;
}
